package com.example.jersey.config;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer;
import org.springframework.stereotype.Component;

/**
 * @author Mr.yuan
 * @version v1.0
 * @date 2020/1/2 11:01
 * 第三种方式
 **/
//@Component
//public class MyResourceConfigCustomizer  implements ResourceConfigCustomizer {
//    @Override
//    public void customize(ResourceConfig config) {
//        config.register(SpringbootResource.class);
//    }
//}
